package com.google.code.javascribd;

import static org.junit.Assert.assertEquals;

import com.google.code.javascribd.connection.ScribdMethod;


public class MethodTestUtil {
	@SuppressWarnings("unchecked")
	public static void checkScribdMethod(ScribdMethod methode, Class resultType, String methodName) {
		assertEquals(resultType, methode.getResponseType());
		assertEquals(methodName, methode.getMethodName());
	}
}
